Click or drag to resize

ResourceCopy Method (String, String, Boolean)

Copies an existing resource to a new resource. Overwriting a existing resource is allowed if parameter overwrite is true.

Namespace:  Independentsoft.Webdav
Assembly:  Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
public bool Copy(
	string source,
	string destination,
	bool overwrite
)

Parameters

source
Type: SystemString
Source resource URI.
destination
Type: SystemString
Destination resource URI.
overwrite
Type: SystemBoolean
True to allow an existing resource to be overwritten; otherwise, false.

Return Value

Type: Boolean
True if success; otherwise, false.
See Also